<script>
  import $ from 'dfish-widget'
  import Method from '../Method.vue'

  export default {
    mixins: [Method],
    data() {
      return {
        name: '$.cloneDeep(target)',
        remark: '深拷贝一个JSON对象。',
        attrs: [{
          name: 'target',
          remark: '显示文本',
          type: 'Object|Array',
        }],
        examples: [{
          remark: '弹出对话框',
          code: `
            const obj = {a: 1}
            const res = $.cloneDeep(obj)
            `
        }]
      }
    }
  }
</script>
